package cn.stylefeng.guns.modular.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户收藏表
 * </p>
 *
 * @author TANGWJ
 * @since 2020-07-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("iDJ_user_collect")
public class IdjUserCollect implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 收藏id
     */
    private Long collectId;

    /**
     * 1点赞 2收藏 3转发
     */
    private Integer baseType;

    /**
     * 资源id
     */
    private Long resourceId;

    /**
     * 资源类型 1资讯 2动态 3作品
     */
    private Integer resourceType;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;


}
